package edu.ts.crowdfunding.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * System Admin User Table
 * @TableName sys_user
 */
@TableName(value ="sys_user")
@Data
public class User {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long userId;

    /**
     * 
     */
    private String userUsername;

    /**
     * Hashed password
     */
    private String userPassword;

    /**
     * 
     */
    private String userNickname;

    /**
     * 
     */
    private String userAvatarUrl;

    /**
     * 
     */
    private String userEmail;

    /**
     * 
     */
    private String userPhone;

    /**
     * 1: enabled, 0: disabled
     */
    private Integer userStatus;

    /**
     * 
     */
    private Date userCreatedAt;

    /**
     * 
     */
    private Date userUpdatedAt;
}